<?php

class Application_Model_AclRolesUser extends Sgit_Model
{  
    protected $_name = 'acl_user_groups';
    protected $_primary = array('id_user','id_group');
    
  
   function getUsersByGroup($id_group){
        
        
        
        $select = $this->db->select()->from(array($this->_name),array('id_user') );
        $select->where('id_group = ?',$id_group);
        $rows = $this->db->fetchCol($select);


        return $rows;
    }
}  




